
.PHONY: binary image clean
binary:
	go mod tidy
	go build -buildmode=plugin -o prebind-plugin.so main.go

image: binary
	docker build -f Dockerfile -t  registry.cn-hangzhou.aliyuncs.com/wxx_image/centos:volcano-prebind .

clean:
	rm -f prebind-plugin.so

